Don't add modes to which-func-modes if already set to t.
authorJuanma Barranquero <lekktu@gmail.com>
Sat, 21 Apr 2012 16:57:49 +0000 (18:57 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Sat, 21 Apr 2012 16:57:49 +0000 (18:57 +0200)
commit7e23f111f26d35399436c6429c13cdae07654398
tree6dc262b7b30b5d9157f354da3d255cdf9d9d20e3
parentd5027df27a337d0dd4304b619a407ee85faf6859
Don't add modes to which-func-modes if already set to t.

* lisp/progmodes/verilog-mode.el (verilog-mode): Check whether
  which-func-modes is t before adding verilog-mode.
  Reported by Andy Moreton <andrewjmoreton@gmail.com>.

* lisp/mh-e/mh-folder.el (top): Check whether which-func-modes
  is t before adding mh-folder-mode.
lisp/ChangeLog
lisp/mh-e/ChangeLog
lisp/mh-e/mh-folder.el
lisp/progmodes/verilog-mode.el